package org.his.mapper;

import java.util.List;

import org.his.entity.Registration;

public interface RegistrationMapper {
	
	Integer queryCountWait(Registration waitregistration);
	
	int addRegistration(Registration addRegistration);
	
	//用于医生查询等待就诊病人
	List<Registration> queryWaitPatientByFrom(Registration queryRegistration);
	
	Registration queryByMedicalrecord(String medicalrecord);
	//
	int updateState(String medicalrecord);
}
